package web

import (
	"github.com/gin-gonic/gin"
	"net/http"
	"time"
)

type ObservabilityHandler struct {
}

func (o *ObservabilityHandler) RegisterRouters(e *gin.Engine) {
	rg := e.Group("/test")
	rg.GET("/metrics", func(context *gin.Context) {
		time.Sleep(time.Millisecond * 300)
		context.String(http.StatusOK, "OK")
	})
}
